.main {
  min-width: 1280px;
  max-width: 1920px;
  margin: auto;
  padding-top: 50px;
}

.cursor-p {
  cursor: pointer;
}

.fl {
  float: left
}

.fr {
  float: right
}

.clear {
  clear: both
}

.pld5 {
  padding-left: 5px
}

.prd5 {
  padding-right: 5px
}

.pld10 {
  padding-left: 10px
}

.prd10 {
  padding-right: 10px
}

.bootstrap-tagsinput{
  width: 100%;
  input{
    min-width: 200px;
  }
}
.form-group select:disabled{
  background: #ccc;
}
.ui-jqgrid {
  tr.jqgrow td{
    white-space: normal !important;
    height: auto;
    padding-top: 2px;
    word-break: break-all;
    vertical-align: middle;
    text-align: left;
  }
  #grid-pager_right{
    width: 320px !important;
  }
  #grid-pager_right .ui-paging-info{
    display: inline-block;
    height: 25px;
    line-height: 25px;
    float: left;
  }
  #grid-pager_right .ui-pg-table{
    display: inline-block;
  }
}

/*资源model*/
.resourceModel {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 999;
  .middle {
    height: 550px;
    overflow-y: hidden;
    margin-top: 5%;
    background: #fff;
    z-index: 999;
    .header {
      height: 28px;
    }
    .ModelSearch {
      padding: 10px 5px;
    }
    .ModelContent {
      height: 380px;
      overflow-y: scroll;
      .item {
        position: relative;
        list-style-type: none;
        float: left;
        width: 16.66%;
        text-align: center;
        padding: 5px;
        display: inline-block;
        .tag {
          margin-top: 5px;
        }
        .thumb {
          width: 100%;
          position: relative;
          height: 152px;
          img {
            width: 100%;
            height: 100%;
          }
        }
      }
      .item.selected img {
        box-shadow: 0 0 0 4px #00c09e;
      }
      .item:before {
        content: "\2714";
        display: block;
        position: absolute;
        margin: auto;
        top: -30px;
        left: 0;
        bottom: 0;
        right: 0;
        width: 40px;
        height: 40px;
        line-height: 40px;
        background: #00c09e;
        border-radius: 50px;
        color: #fff;
        text-align: center;
        font-size: 16px;
        z-index: 10;
        opacity: 0;
        transition: 0.3s linear;
        -o-transition: 0.3s linear;
        -ms-transition: 0.3s linear;
        -moz-transition: 0.3s linear;
        -webkit-transition: 0.3s linear;
        -o-user-select: none;
        -moz-user-select: none;
        -webkit-user-select: none;
        cursor: pointer;
      }
      .item.selected:before {
        opacity: 1;
      }
    }
  }
  .mask {
    position: absolute;
    background: #4c4545;
    opacity: 0.2;
    height: 100%;
    width: 100%;
    z-index: 998;
  }
}

/*上传图片样式*/
.uploader-container {
  border: 1px solid #dadada;
  color: #838383;
  font-size: 12px;
  margin-top: 10px;
  background-color: #FFF;
  .uploader {
    .queueList {
      margin: 20px;
    }
    .placeholder {
      border: 3px dashed #e6e6e6;
      min-height: 238px;
      padding-top: 158px;
      text-align: center;
      background: url(../../images/image.png) center 93px no-repeat;
      color: #cccccc;
      font-size: 18px;
      position: relative;
    }
    .webuploader-pick {
      position: relative;
      display: inline-block;
      cursor: pointer;
      background: #00b7ee;
      margin-top: 10px;
      padding: 10px 15px;
      color: #fff;
      text-align: center;
      border-radius: 3px;
      overflow: hidden;
    }
    .mainImg {
      position: absolute;
      top: 0;
      left: 0px;
      width: 100%;
      height: 100%;
      z-index: 99;
    }
    .focusedImg{
      @extend .mainImg;
    }
    .hotImg{
      @extend .mainImg;
    }
    .recommendImg{
      @extend .mainImg;
    }

    .imgslist{
      clear: both;
      .item {
        position: relative;
        list-style-type: none;
        float: left;
        width: 16.66%;
        text-align: center;
        padding: 5px;
        display: inline-block;
        .tag {
          margin-top: 5px;
        }
        .thumb {
          width: 100%;
          position: relative;
          height: 152px;
          img {
            width: 100%;
            height: 100%;
          }
          .btn{
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 80px;
            margin-left: -40px;
          }
        }
      }
    }
  }
}

/*充值model*/
.RechargeModel {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 999;
  .middle {
    height: 300px;
    margin-top: 10%;
    background: #fff;
    z-index: 999;

  }
  .mask {
    position: absolute;
    background: #4c4545;
    opacity: 0.2;
    height: 100%;
    width: 100%;
    z-index: 998;
  }
}

.modelTemTwoInput {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 999;
  .middle {
    height: 240px;
    margin-top: 10%;
    background: #fff;
    z-index: 999;

  }
  .mask {
    position: absolute;
    background: #4c4545;
    opacity: 0.2;
    height: 100%;
    width: 100%;
    z-index: 998;
  }
}

.modelAddPassenger {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 999;
  .middle {
    height: 320px;
    margin-top: 10%;
    background: #fff;
    z-index: 999;
  }
  .mask {
    position: absolute;
    background: #4c4545;
    opacity: 0.2;
    height: 100%;
    width: 100%;
    z-index: 998;
  }
}

.modelAddFinerCost {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 999;
  .middle {
    height: 230px;
    margin-top: 10%;
    background: #fff;
    z-index: 999;
  }
  .mask {
    position: absolute;
    background: #4c4545;
    opacity: 0.2;
    height: 100%;
    width: 100%;
    z-index: 998;
  }
}

.modelLoading{
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 999;
  .middle {
    height: 240px;
    margin-top: 10%;
    z-index: 999;
  }
  .mask {
    position: absolute;
    background: #4c4545;
    opacity: 0.2;
    height: 100%;
    width: 100%;
    z-index: 998;
  }
}

//搜索样式
.search .form-horizontal {
  .input-group-addon {
    position: relative;
    left: -40px;
    z-index: 9;
  }
  .form-horizontal .control-label {
    text-align: left;
  }
  .row {
    margin-bottom: 10px
  }
  .pull-right {
    padding-right: 50px
  }
}

//产品详情 评论样式
.comment-wrapper {
  .list {
    .item {
      list-style-type: none;
      display: flex;
      border: 1px solid #b2a5a5;
      padding: 20px;
      margin-bottom: 10px;
      .left {
        padding-right: 20px;
        .userImg {
          width: 60px;
          height: 60px;
        }
      }
      .right {
        flex-grow: 1;
        padding-right: 10px;
        .img-item {
          list-style-type: none;
          float: left;
          width: 125px;
          height: 125px;
          margin-left: 4px;
          margin-bottom: 4px;
          position: relative;
          display: inline-block;
          border: 1px solid #fff;
          img {
            width: 100%;
            height: 100%;
          }
        }
        .header {
          position: relative;
          margin-top: 0;
          p {
            margin-bottom: 0
          }
          .name {
            font-weight: bolder
          }
          .time {
            font-weight: bolder
          }
          .del {
            position: absolute;
            top: 10px;
            right: 10px;
            cursor: pointer;
          }
        }
      }
    }
  }
}
